﻿<%@ Control Language="C#" CodeFile="GridInlineCommandEx.ascx.cs" Inherits="Shared_UserControl_GridInlineCommandEx" %>
<%if (string.IsNullOrEmpty(Page.Form.Attributes["d_g_d"])){ %>
<script>
    function nestedDeleteConfirm(event) {
        if (!$find("<%# DataBinder.Eval(Container, "OwnerGridID") %>").confirm("<%=deleteMessage %>", event, "删除确认", null, "100px")) return false;
    }
</script>
<%Page.Form.Attributes["d_g_d"] = DateTime.Now.ToString(); } %>
<asp:LinkButton ID="lEdit" CssClass="icon icon-edit fl-left grid-inline-edit" style="padding-right: 2px;" runat="server" ToolTip="编辑" />
<asp:LinkButton ID="lDel" CssClass="icon icon-delete fl-left" runat="server" CommandName="Delete" OnClientClick="return nestedDeleteConfirm(event);" ToolTip="删除" />